package com.baizhi.hospital.dao;

import com.baizhi.hospital.entity.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientDao {

	List<Patient> selectPatient(@Param("offset") int offset, @Param("limit") int limit, @Param("name") String name);

	int selectCount(@Param("name") String name);

	int insertPatient(Patient patient);

	int updatePatient(Patient patient);

	int deletePatient(int[] array);
}
